home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 27 / Mac Magazin and MacEasy Magazine CD - Issue 27.iso / Grafik & Text / Sans-Faute⁄Grammaire ƒ / Adaptateurs / spécial HyperCard / Sources des scripts (anglais) / Vérification Pile HyperCard < prev   
Text File  |  1996-02-20  |  876b  |  35 lines

  1. tell application "HyperCard 2.3"
  2.     activate current stack
  3.     set CardNum to 1
  4.     repeat number of card times
  5.         go card CardNum
  6.         set CardNum to CardNum + 1
  7.         
  8.         set num to 1
  9.         repeat number of card field times
  10.             if not dontSearch of card field num then
  11.                 set texttoCheck to card field num as styled text
  12.                 tell application "Sans-Faute/Grammaire 2"
  13.                     set textchecked to Checking texttoCheck
  14.                 end tell
  15.                 set card field num to textchecked
  16.             end if
  17.             set num to num + 1
  18.         end repeat
  19.         
  20.         set num to 1
  21.         repeat number of background field times
  22.             if not dontSearch of background field num then
  23.                 set texttoCheck to background field num as styled text
  24.                 tell application "Sans-Faute/Grammaire 2"
  25.                     set textchecked to Checking texttoCheck
  26.                 end tell
  27.                 set background field num to textchecked
  28.             end if
  29.             set num to num + 1
  30.         end repeat
  31.         
  32.     end repeat
  33. end tell
  34.  
  35.